gtk: Add some g-i annotations to GtkStringList
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 25 Jun 2020 21:10:37 +0000 (23:10 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 26 Jun 2020 04:36:23 +0000 (06:36 +0200)
gtk/gtkstringlist.c

index d4cad21ad3e44c563e56a4c6644a37fc26762b66..753f11bdf8d9272779177dc028daac07b323607f 100644 (file)
@@ -425,12 +425,12 @@ gtk_string_list_init (GtkStringList *self)
 
 /**
  * gtk_string_list_new:
- * @strings: (allow-none): The strings to put in the model
+ * @strings: (array zero-terminated=1) (nullable): The strings to put in the model
  *
  * Creates a new #GtkStringList with the given @strings.
  *
  * Returns: a new #GtkStringList
- **/
+ */
 GtkStringList *
 gtk_string_list_new (const char **strings)
 {
@@ -534,7 +534,7 @@ gtk_string_list_append (GtkStringList *self,
 /**
  * gtk_string_list_take:
  * @self: a #GtkStringList
- * @string: the string to insert
+ * @string: (transfer full): the string to insert
  *
  * Adds @string to self at the end, and takes
  * ownership of it.